package registnet.records;

public class DegreeProgram {

	private String degreeCode;
	private String degreeName;
	private College college;
	
	
	/**
	 * Default constructor
	 */
	public DegreeProgram(){}
	
	
	/**
	 * Constructs a degree program with an assigned degree code
	 * @param degreeCode - The code assigned to the degree program 
	 */
	public DegreeProgram(String degreeCode){
		this.degreeCode = degreeCode;
	}

	
	/**
	 * Gets the code assigned to the degree program
	 * 
	 * @return 	The code assigned to the degree program
	 */
	public String getDegreeCode() {
		return degreeCode;
	}

	
	/**
	 * Sets the code assigned to the degree program
	 * 
	 * @param degreeCode - The code assigned to the degree program
	 */
	public void setDegreeCode(String degreeCode) {
		this.degreeCode = degreeCode;
	}

	
	/**
	 * Gets the name of the degree program
	 * 
	 * @return 	The name of the degree program
	 */
	public String getDegreeName() {
		return degreeName;
	}

	
	/**
	 * Sets the name of the degree program
	 * 
	 * @param degreeName - The name of the degree program
	 */
	public void setDegreeName(String degreeName) {
		this.degreeName = degreeName;
	}

	
	/**
	 * Gets the college that offers the degree program
	 * 
	 * @return 	The college that offers the degree program
	 */
	public College getCollege() {
		return college;
	}

	
	/**
	 * Sets the college that offers the degree program
	 * 
	 * @param college - The college that offers the degree program
	 */
	public void setCollege(College college) {
		this.college = college;
	}
	
}
